package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大屏相关配置参数对象 tb_larg_screen_paramet
 * 
 * @author nonghg
 * @date 2022-01-19
 */
public class TbLargScreenParamet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 参数名称 */
    @Excel(name = "参数名称")
    private String name;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date parameter1;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date parameter2;

    /** 时间间隔 */
    @Excel(name = "时间间隔")
    private String parameter3;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String ifEffect;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setParameter1(Date parameter1) 
    {
        this.parameter1 = parameter1;
    }

    public Date getParameter1() 
    {
        return parameter1;
    }
    public void setParameter2(Date parameter2) 
    {
        this.parameter2 = parameter2;
    }

    public Date getParameter2() 
    {
        return parameter2;
    }
    public void setParameter3(String parameter3) 
    {
        this.parameter3 = parameter3;
    }

    public String getParameter3() 
    {
        return parameter3;
    }
    public void setIfEffect(String ifEffect) 
    {
        this.ifEffect = ifEffect;
    }

    public String getIfEffect() 
    {
        return ifEffect;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("parameter1", getParameter1())
            .append("parameter2", getParameter2())
            .append("parameter3", getParameter3())
            .append("ifEffect", getIfEffect())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("createBy", getCreateBy())
            .append("remark", getRemark())
            .toString();
    }
}
